<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class User extends Model
{
	// 设置操作表名
    public $table = 'users';

    public function articles()
    {
        return $this->hasMany('App\Models\Article');
    }
}
